package org.example.spring.simple.framework.core;

/**
 * 单例工厂的顶层设计
 */
public interface ZBeanFactory {
    /**
     * 根据beanName从，IoC容器中获取实例
     * @param beanName
     * @return
     * @throws Exception
     */
    Object getBean(String beanName) throws Exception;

    Object getBean(Class<?> beanClass) throws Exception;
}
